<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>

<p class="form-title"><bean:message key="login.identifiezvous"/></p>
<html:javascript formName = "loginForm"/>
	<div id="content-form">
	    <html:form action="/loginAction" onsubmit="return validateLoginForm(this)">
	         <div class="inner-container">
		        <div class="conteneur top">
		        <div style="color:red" align="left">
	        		<html:errors  property="identifiant"/>
					</div>
				    <label for="identifiant"><span class="label2"><bean:message key="login.identifiant"/> </span></label>
					<html:text name="loginForm" property="identifiant" styleId="gwt-TextBox" styleClass="champ-texte" errorStyle="border-color: red;">
					</html:text>
				</div>
				<div class="conteneur">
				<div style="color:red" align="left">
	        		<html:errors property="motDePasse"/>
					</div>  
					<label for="identifiant"><span class="label2"><bean:message key="login.motdepasse"/> </span></label>
					<html:password name="loginForm" property="motDePasse" styleId="gwt-TextBox" styleClass="champ-texte" errorStyle="border-color: red;">
					</html:password>								
				</div>
				<html:image styleClass="submit-login" src="images/boutons/bt_entrer.png" alt="Valider"/>
				</div>
				<div style="color:red" align="left">
	        		<html:errors  property="loginEchec"/>
	        		</div>
		</html:form>
		
	</div>
	<div class="login-right">
		<html:link page="/forgotPage.do" styleClass="psswd-oublie"><bean:message key="login.motdepasseoublie"/></html:link>
		|
		<html:link page="/inscription.do" styleClass="new-client"><bean:message key="login.inscription"/></html:link>
	</div>